﻿namespace WMS6.Web
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    public class Logout : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Session["UserInfo"] = null;
            Session.Clear();
            Session.Abandon();
            ClientScript.RegisterStartupScript(this.GetType(), "key1", "<script>window.top.document.location.href='Login.aspx';</script>");
        }
    }
}
